package com.twu.biblioteca.Commands;

import com.twu.biblioteca.Library;
import com.twu.biblioteca.LogInSystem;

import java.util.Scanner;

public class ViewMoviesCommand implements Command {
    @Override
    public String execute(Library lib, Scanner scanner, LogInSystem logInSystem) {
        String viewMoviesString = "Movies|Director|Year|Rating\n";
        viewMoviesString += lib.getMoviesString();
        return viewMoviesString;
    }
}
